* {
  margin: 0;
  padding: 0;
  bottom: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}

body {
  background: hsl(210, 3%, 15%);
  color: hsla(0, 100%, 100%, 0.75);
  font-size: 12px;
  overflow: hidden;
  font-size: 12px;
  height: 100vh;
  width: 100%;
  vertical-align: baseline;
}

.city {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100vh;
  bottom: 0;
  overflow: hidden;
  box-shadow: inset 0 -60px 0 -30px #4bafac;
}

ul {
  list-style: none;
  position: absolute;
  bottom: 0;
}

.skyscrappers {
  width: 100%;
  height: 86.67px;
  left: 0;
}
.skyscrappers .item {
  position: absolute;
  height: inherit;
  bottom: 15%;
  width: 43.33px;
  background: linear-gradient(115deg, #4bafac 73%, #3c8b89 73%, #3c8b89 100%);
}
.skyscrappers .item::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  left: 10%;
  bottom: 10%;
  background: url("") space;
}
.skyscrappers .item.skyscrapper-1 {
  width: 121.33px;
  height: 138.67px;
  right: 25%;
  bottom: 0;
  z-index: 10;
  transform: rotate(180deg);
}
.skyscrappers .item.skyscrapper-2 {
  width: 40.4px;
  right: 45%;
  bottom: 0;
  z-index: 10;
  transform: rotate(180deg);
  height: 115.56px;
}

.crane {
  left: 20%;
  width: 260px;
  height: 173.3333333333px;
  z-index: 10;
  perspective: 600px;
}
.crane .item {
  position: absolute;
  border: 1px solid hsl(178, 40%, 49%);
  border-radius: 2px;
}
.crane .cable {
  width: 1px;
  height: 1px;
  border: none;
  outline: 1px solid transparent;
  background-color: hsl(178, 40%, 49%);
  z-index: 0;
}
.crane .cable.cable-1 {
  width: 60%;
  top: 0;
  left: 11%;
  transform-origin: right 0;
  animation: cable-1_movement 12s infinite alternate;
}
.crane .cable.cable-2 {
  width: 19%;
  top: 0;
  right: 8%;
  transform-origin: top left;
  animation: cable-2_movement 12s infinite alternate;
}
.crane .cable.cable-3 {
  height: 30%;
  top: 22%;
  left: 9%;
  transform-origin: right center;
  animation: cable-3_movement 12s ease-in-out infinite alternate;
}
.crane .cable.cable-3::after {
  content: "";
  display: block;
  position: absolute;
  height: 0.2em;
  width: 9000%;
  bottom: 0;
  left: -4500%;
  background-color: #90d0cd;
  border: 1px solid #4bafac;
}
.crane .stand {
  width: 5%;
  height: 100%;
  right: 25%;
  z-index: 1;
  background: linear-gradient(to top, hsl(178, 40%, 49%), #bfd4d3);
}
.crane .weight {
  width: 8%;
  height: 20%;
  right: 4%;
  top: 12%;
  z-index: 2;
  background-color: #a9d1cf;
  transform-origin: 0 center;
}
.crane .cabin,
.crane .arm {
  transform-origin: 80% center;
  animation: crane-movement 12s infinite alternate;
}
.crane .cabin {
  width: 12%;
  height: 9%;
  right: 24%;
  top: 20%;
  z-index: 2;
  background-color: #a9d1cf;
}
.crane .cabin::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 10%;
  top: 60%;
  left: 0;
  background-color: white;
}
.crane .arm {
  width: 100%;
  height: 7%;
  top: 15%;
  border-top-left-radius: 10px;
  z-index: 3;
  background-color: #a9d1cf;
}

@keyframes crane-movement {
  0%, 20% {
    transform: rotateY(0);
  }
  70%, 100% {
    transform: rotateY(45deg);
  }
}
@keyframes cable-1_movement {
  0%, 20% {
    transform: rotateY(0) rotateZ(-10deg);
  }
  70%, 100% {
    transform: rotateY(45deg) rotateZ(-10deg);
  }
}
@keyframes cable-2_movement {
  0%, 20% {
    transform: rotateY(0) rotateZ(29deg);
  }
  70%, 100% {
    transform: rotateY(15deg) rotateZ(29deg);
  }
}
@keyframes cable-3_movement {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(2500%, -18%);
  }
  60% {
    transform: translate(11000%, -25%);
  }
  70% {
    height: 30%;
    transform: translate(9100%, -25%);
  }
  90%, 100% {
    height: 80%;
    transform: translate(9100%, -15%);
  }
}